package org.mybaits.chapter4.entitys;

import java.util.Date;

/**
 * 订单详情
 * 
 * @author huangkai
 * @date 2016年2月28日 下午8:07:42
 * @version 1.0
 */
public class OrderDetails {

	private Long id;

	private Long orderId;

	private Long itemsId;

	private Date createtime;

	private String intro;

	/**
	 * 订单商品信息
	 */
	private Items items;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getOrderId() {
		return orderId;
	}

	public void setOrderId(Long orderId) {
		this.orderId = orderId;
	}

	public Long getItemsId() {
		return itemsId;
	}

	public void setItemsId(Long itemsId) {
		this.itemsId = itemsId;
	}

	public Date getCreatetime() {
		return createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

	public String getIntro() {
		return intro;
	}

	public void setIntro(String intro) {
		this.intro = intro;
	}

	public Items getItems() {
		return items;
	}

	public void setItems(Items items) {
		this.items = items;
	}

	@Override
	public String toString() {
		return "OrderDetails [id=" + id + ", orderId=" + orderId + ", itemsId="
				+ itemsId + ", createtime=" + createtime + ", intro=" + intro
				+ ", items=" + items + "]";
	}

}
